<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>计算月工资</title>
<link href="css/button.css" rel="stylesheet" type="text/css">
<link href="css/form1.css" rel="stylesheet" type="text/css">
<link href="css/table.css" rel="stylesheet" type="text/css">
</head>
<body>
<section><a href="logout">注销</a>&nbsp;&nbsp;您现在的位置：<a href="admin.jsp">首页</a>
&gt;&gt;计算月工资</section>
<div id="form">
<form action="/salary_manage/calculate?" method="post" style=" height: 450px;  margin-top: 30px;">
<p>月份：
<select name="month" id="month">
	<option value="">请选择</option> 
	<option value="Jan">1月</option> 
	<option value="Feb">2月</option> 
	<option value="Mar">3月</option> 
	<option value="APr">4月</option> 
	<option value="May">5月</option> 
	<option value="June">6月</option> 
	<option value="July">7月</option>
	<option value="Aug">8月</option> 
	<option value="Sep">9月</option> 
	<option value="Oct">10月</option> 
	<option value="Nov">11月</option> 
	<option value="Dec">12月</option>
	</select>
	本月应出勤天数<input type="text" name="should"required/></p>
<table class="altrowstable" id="alternatecolor" style="margin:auto">
	<tr>
		<th>员工编号</th>
		<th>员工姓名</th>
		<th>部门名称</th>
		<th>实际出勤</th>
		<th>加班天数</th>
		<th>迟到、请假次数</th>
	</tr>
	<c:forEach items="${list}" var="calculate">
		<tr>
			<td>${calculate.staffSno}</td>
			<td>${calculate.name}</td>
			<td>${calculate.departmentName}</td>
			<td><input type="number" name="reality"></td>
			<td><input type="number" name="overtime"></td>
			<td><input type="number" name="other"></td>
		</tr>
	</c:forEach>
	</table>
	<input type="hidden" name="method" value="confirm"/>
	<p class="submit"><input type="submit"class="bluebuttoncss" value="提交"/></p>
	</form>
</div>
<br/><br/><br/><br/><br/><br/>
<div class="demo_con">
<button type="button" class="button blue larrow" onclick="window.location.href = 'admin.jsp'">返回首页</button>
</div>
</body>
</html>